import http from './http';
const api = {};
api.getJcsjGsByPFMarket = (params) => {
  return http.post('/wwgsp/getJcsjGsByPFMarket', params);
};
// 市场交易品种分析
api.getJcsjGsJYPZByPFMarket = (params) => {
  return http.post('/wwgsp/getJcsjGsJYPZByPFMarket', params);
};

api.slekjsjByPFMarket = (params) => {
  return http.post('/wwgsp/slekjsjByPFMarket', params);
};

api.sleSJFXByPFMarket = (params) => {
  return http.post('/wwgsp/sleSJFXByPFMarket', params);
};
// 检测品类占比
api.getJCPLZBByPFMarket = (params) => {
  return http.post('/wwgsp/getJCPLZBByPFMarket', params);
};
// 检测项目分析
api.getJCXMFXByPFMarket = (params) => {
  return http.post('/wwgsp/getJCXMFXByPFMarket', params);
};
// 食用农产品检测和交易时间段趋势
api.getJCAJYByPFMarket = (params) => {
  return http.post('/wwgsp/getJCAJYByPFMarket', params);
};
// 6.食用农产品安全指数
api.getDYNCPByPFMarket = (params) => {
  return http.post('/wwgsp/getDYNCPByPFMarket', params);
};
// 食用农产品产地(来源) 分析
api.getCDLYFXByPFMarket = (params) => {
  return http.post('/wwgsp/getCDLYFXByPFMarket', params);
};

// 食用农产品疑似阳性风险预警
api.getYSYXYJByPFMarket = (params) => {
  return http.post('/wwgsp/getYSYXYJByPFMarket', params);
};

export default api;
